package pojo;

/**
 * 疾病症状关联表实体类
 */
public class JxbZz {
    private Integer jxbId;    // 疾病ID
    private Integer zzId;     // 症状ID
    private Integer weight;   // 关联权重(1-5，越高越典型)

    // 全参构造方法
    public JxbZz(Integer jxbId, Integer zzId, Integer weight) {
        this.jxbId = jxbId;
        this.zzId = zzId;
        this.weight = weight;
    }

    // 无参构造方法
    public JxbZz() {}

    // Getter 和 Setter 方法
    public Integer getJxbId() { return jxbId; }
    public void setJxbId(Integer jxbId) { this.jxbId = jxbId; }

    public Integer getZzId() { return zzId; }
    public void setZzId(Integer zzId) { this.zzId = zzId; }

    public Integer getWeight() { return weight; }
    public void setWeight(Integer weight) { this.weight = weight; }

    @Override
    public String toString() {
        return "JxbZz{" +
                "jxbId=" + jxbId +
                ", zzId=" + zzId +
                ", weight=" + weight +
                '}';
    }
}